the element mapped to the swimming track. When ing a swimming track, the corresponding elements of the chart must be identified in the parent path. Otherwise, an error is reported, and the swimming track cannot be taken as the father in a geometric shape.Connector ingShape ing maps the shape to the domain class, while connector ing maps the connector to a domain relationship, and there is no need to set the parent element path here. The connector connects the source element of the corresponding
Starting from this section, we will start our DSL journey. First, make sure that you have installed the Visual Studio SDK and use Visual Studio 2008. we will first create a simple DSL project to understand the DSL development environment and process.
1. open. net, new -- Project, click another project type -- extensibility ). the following lists the projects of
DSL Concept
Martin FowlerDefines a domain-specific language (DSL) as "a computer language that's targeted to a particle kind of problem, rather than a general purpose language that's aimed at any kind of software problem"
Domain-specific agesAren't a new idea by any means. dsls have been around since long before the start of computing. People have always developed specialized
Vocabularies for specializ
Set DSL connection manually in Ubuntu, and set dsl manually in ubuntu
After installing Ubuntu, I found that the DSL connection of the graphic interface was useless and I was depressed for several days. I think it would be a waste of 120 hours of mobile traffic every month. Just as I wanted to return to the Windows system, I found a good way to manually set up a c
Gradle DSL method not found: ' Runproguard () ' ErrorThis error occurs because in the new version of Gradle, the Runproguard () method has been discarded and replaced by minifyenabled, So just change the runproguard in the Build.gradlew file under each module to minifyemabled. Such as:Gradle DSL method found: ' Android () ' ErrorAs with the last error, this is also because the Android () method has been dep
Example of JavaScript DSL fluent interface (called using a chain), dsl chain
After carefully studying DSL for a while, I found that one of the most interesting things in JavaScript is probably chained call (Method chain, that is, Method Chaining ). Interestingly, Martin Flower points out:Copy codeThe Code is as follows:I 've also noticed a common misconception-pl
custom tool), which is generated separately for this file, especially when your DSL file is quite large, this improves the generation speed.After the conversion is complete, you can recompile the entire solution to check whether any errors have occurred. Let's take a look at the domainclasses. CS File class diagram as in Section 5: As you can see, the domain classes and domain relationships in the metadata are all reflected in the generated code.
Cod
Http://tech.ddvip.com/2008-12/1229654190101204.html
The basic idea of domain specific language/DSL is "Seeking for specialization", which does not cover all software problems as the general target language does, it is a computer language dedicated to a specific problem. DSL was originally and ultimately a dream for programmers, just as January 1. People have been talking about
the template parser code. You can also optimize the size of the template into the final code, which is useful for offline compilation.
xtemplate module needs splitting
When you choose to compile offline, actually Xtemplate's compiled code can be split into two modules: Xtemplate/runtime and Xtemplate/compiler without downloading. This allows the functional infrastructure to load the template directly with Xtemplate/runtime when you choose to compile offline.
Xtemplate Document
Api
Demo
what is development in specific fields and DSL development in specific fields is used to solve repeated problems, summarize and analyze each problem to solve the same problem at one time. frequently changing aspects can be expressed in a special language. for this special language, we can create a model or expression and insert it to a fixed part. for our solutions in the software industry, the fixed part adopts the traditional design and implemen
New type [] { typeof ( transitionlabelrule ), };
}
}
}
6. generate all conversion templates. Let's test our rules:
Code download
Reference resources 1. Development Guide for specific fields of visual stuido DSL tools2. dsl tools lab http://code.msdn.microsoft.com/DSLToolsLab series tutorial [this series of entry cases of
ArticleDirectory
One Language
DSL content
DSL Architecture
Advantages of DSL applications
Styles)
Application scenarios
Books
Model-driven development (MDD), software factory, and domain-specific modeling (DSM) are all highly abstract development methods, the languages used by these methods are specific domain languages (
left still contains javasagesm. There are two solutions:1. Right-click Export agesm and choose delete from the shortcut menu.2. find your vs SDK from the beginning -- program, and there is a reset the Microsoft Visual Studio 2008 SP1 experimental hive under tools to reset the lab environment. This function is frequently used in DSL development, you can reset the vs.net lab environment so that you can register information again.
Code download
Microsoft started to provide DSL in vs2005sdk, and also published a book dedicated to writing Visual Studio DSL. This book details the DSL content, in the current environment where there are few DSL books, it is good to have such a book for reference.
I have read this book a few years ago. Since I recently began to c
Author: liguisen
Blog: http://blog.csdn.net/liguisen/
Damnsmalllinux (DSL) is a livecd version of Linux. Simply put, it is burned to a CD and then started from the CD in the PC, just like using a complete operating system installed on a hard disk.
The biggest difference from the operating system installed on the hard disk is:
All the changes you make are limited to the memory, because it virtualizes A ramdisk in the memory. Therefore, when you res
Sina technology news China broadband application development forum and China tripbench play/IPTV Annual Forum April 18 ~ Held in Beijing on the 19th, the mission is to solve the technical, commercial, market, service, content, and regulatory problems faced by operators in the process of providing video services through broadband.The following is a keynote speech by Robin mersh, chief operating officer of DSL forum, entitled "IPTV and triple play: opti
Vsts and DSL have been talking for a long time. Now it's almost time to try to pull... one of the main reasons why I didn't try it is because I used Java for a long time.
Today, I downloaded related installation programs and some tutorials. If you are interested, you can try to reuse the results of Google. The approximate resources are as follows:
Download:
Http://www.microsoft.com/downloads/details.aspx? Familyid = 7e0fdd66-698a-4e6a-b373-bd064284
[Switch] domain-specific language (DSL)
The basic idea of domain specific language/DSL is "not seeking for specialization", which does not cover all software problems as the general target language does, it is a computer language dedicated to a specific problem. People have been talking about DSL since the beginning of computer invention. The UNIX comm
Groovy language is most proud of the characteristics of the DSL, the definition of DSL and classification, advantages, etc., it is not to be elaborated in this article, you can access the Internet, there is a large number of this convenient introduction. The groovy language is a great way to design your internal DSL, and in this context, my Groovy Discovery serie
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.